home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / include / sys / RCS / uio.h,v < prev    next >
Text File  |  1989-07-14  |  1KB  |  94 lines

  1. head     1.3;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.3
  10. date     89.07.14.09.15.41;  author rab;  state Exp;
  11. branches ;
  12. next     1.2;
  13.  
  14. 1.2
  15. date     88.06.29.14.48.29;  author ouster;  state Exp;
  16. branches ;
  17. next     1.1;
  18.  
  19. 1.1
  20. date     88.06.21.12.01.48;  author ouster;  state Exp;
  21. branches ;
  22. next     ;
  23.  
  24.  
  25. desc
  26. @@
  27.  
  28.  
  29. 1.3
  30. log
  31. @*** empty log message ***
  32. @
  33. text
  34. @/*
  35.  * Copyright (c) 1982, 1986 Regents of the University of California.
  36.  * All rights reserved.  The Berkeley software License Agreement
  37.  * specifies the terms and conditions for redistribution.
  38.  *
  39.  *    @@(#)uio.h    7.1 (Berkeley) 6/4/86
  40.  */
  41.  
  42. #ifndef _UIO
  43. #define    _UIO
  44.  
  45. struct iovec {
  46.     caddr_t    iov_base;
  47.     int    iov_len;
  48. };
  49.  
  50. struct uio {
  51.     struct    iovec *uio_iov;
  52.     int    uio_iovcnt;
  53.     off_t    uio_offset;
  54.     int    uio_segflg;
  55.     int    uio_resid;
  56. };
  57.  
  58. enum    uio_rw { UIO_READ, UIO_WRITE };
  59.  
  60. /*
  61.  * Segment flag values (should be enum).
  62.  */
  63. #define UIO_USERSPACE    0        /* from user data space */
  64. #define UIO_SYSSPACE    1        /* from system space */
  65. #define UIO_USERISPACE    2        /* from user I space */
  66. #endif /* _UIO */
  67. @
  68.  
  69.  
  70. 1.2
  71. log
  72. @Add ifdefs to prevent files from being included multiple times.
  73. @
  74. text
  75. @d33 1
  76. a33 1
  77. #endif _UIO
  78. @
  79.  
  80.  
  81. 1.1
  82. log
  83. @Initial revision
  84. @
  85. text
  86. @d9 2
  87. a10 2
  88. #ifndef _UIO_
  89. #define    _UIO_
  90. d33 1
  91. a33 1
  92. #endif
  93. @
  94.